﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DddCms.Domain.Model;
using DddCms.Domain.Repository;
using System.Data.Entity;

namespace DddCms.Infrastructure.Repository
{
    public class RoleRepositoy : RepositoryItem<Role>, IRoleRepositoy
    {
        protected override IDbSet<Role> GetObjectQuery()
        {
            return dataContext.Role;
        }
    }
}
